import request from '@/utils/request'

// 查询Q&A维护列表
export function listLpQuestionAnswer(query) {
  return request({
    url: '/questionAnswer/lpQuestionAnswer/list',
    method: 'get',
    params: query
  })
}

// 查询Q&A维护详细
export function getLpQuestionAnswer(id) {
  return request({
    url: '/questionAnswer/lpQuestionAnswer/' + id,
    method: 'get'
  })
}

// 保存Q&A维护
export function saveLpQuestionAnswer(data) {
  return request({
    url: '/questionAnswer/lpQuestionAnswer/save',
    method: 'post',
    data: data
  })
}

// 删除Q&A维护
export function delLpQuestionAnswer(id) {
  return request({
    url: '/questionAnswer/lpQuestionAnswer/' + id,
    method: 'delete'
  })
}

// 导出Q&A维护
export function exportLpQuestionAnswer(query) {
  return request({
    url: '/questionAnswer/lpQuestionAnswer/export',
    method: 'get',
    params: query
  })
}
